home *** CD-ROM | disk | FTP | other *** search
/ Champak 62 / Volume 62 - JOGO DISK .iso / Games / mycutepets.swf / scripts / DefineSprite_831 / frame_1 / DoAction.as
Text File  |  2008-03-17  |  483b  |  15 lines

  1. function updateList()
  2. {
  3.    var _loc3_ = so.data.records[tempType];
  4.    var _loc2_ = 0;
  5.    while(_loc2_ < 10)
  6.    {
  7.       this["r" + (_loc2_ + 1)].data = _loc3_[_loc2_] == undefined ? null : {isNew:_loc3_[_loc2_].id == _loc3_.length && markNew && tempType == "all",num:("00" + (_loc2_ + 1)).slice(-2),name:_loc3_[_loc2_].name,score:_loc3_[_loc2_].score};
  8.       _loc2_ = _loc2_ + 1;
  9.    }
  10.    tapress.gotoAndStop(tempType);
  11. }
  12. var markNew;
  13. var tempType = "all";
  14. updateList();
  15.